INCLUDEPATH += $$PWD

####  Windows ### - Begin
win32{

#    QMAKE_CFLAGS_DEBUG += -MT
#    QMAKE_CXXFLAGS_DEBUG += -MT

#    QMAKE_CFLAGS_RELEASE += -MT
#    QMAKE_CXXFLAGS_RELEASE += -MT

    INCLUDEPATH +=  $$PWD/include

    CONFIG(debug,debug|release){
        contains(QT_ARCH, i386) {
            LIBS += $$PWD/lib/x86/opencv_ts300d.lib \
                    $$PWD/lib/x86/opencv_world300d.lib
        } else {
            LIBS += $$PWD/lib/x64/opencv_ts300d.lib \
                    $$PWD/lib/x64/opencv_world300d.lib
        }
    }
    else{
        contains(QT_ARCH, i386) {
            LIBS += $$PWD/lib/x86/opencv_ts300.lib \
                    $$PWD/lib/x86/opencv_world300.lib
        } else {
            LIBS += $$PWD/lib/x64/opencv_ts300.lib \
                    $$PWD/lib/x64/opencv_world300.lib
        }
    }

#    LIBS += $$PWD/staticlib/x86/opencv_calib3d300.lib \
#            $$PWD/staticlib/x86/opencv_core300.lib \
#            $$PWD/staticlib/x86/opencv_highgui300.lib \
#            $$PWD/staticlib/x86/opencv_imgcodecs300.lib \
#            $$PWD/staticlib/x86/opencv_imgproc300.lib \
#            $$PWD/staticlib/x86/opencv_ml300.lib \
#            $$PWD/staticlib/x86/opencv_photo300.lib \
#            $$PWD/staticlib/x86/opencv_shape300.lib \
#            $$PWD/staticlib/x86/opencv_stitching300.lib \
#            $$PWD/staticlib/x86/opencv_superres300.lib \
#            $$PWD/staticlib/x86/opencv_ts300.lib \

#    LIBS += Strmiids.lib Shell32.lib ole32.lib OleAut32.lib Shlwapi.lib Vfw32.lib Secur32.lib

}
####  Windows  ### - End
